package com.gxgeek.order.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 商品（包含类目）
 * Created by Administrator on 2017/7/11.
 */
@Data
public class ProductVO implements Serializable {

    private static final long serialVersionUID = 6964254469455537604L;
    /**
     * name : 热榜
     * type : 1
     * foods : [{"id":"123456","name":"皮蛋粥","price":1.2,"description":"好吃的皮蛋粥","icon":"http://xxx.com"}]
     */

    //类型名字
    @JsonProperty("name")
    private String categoryName;
    //类型

    @JsonProperty("type")
    private Integer categoryType;
    @JsonProperty("foods")
    private List<ProductInfoVO> productInfoVOList;

}
